package com.xc.h05.service.lishenao;

import com.github.pagehelper.PageInfo;
import com.xc.h05.entity.Article;
import com.xc.h05.entity.Consult;

import java.util.List;

public interface ArticleService {
    int deleteByPrimaryKey(Long id);


    int insertSelective(Article record);

    Article selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Article record);

    PageInfo<Article> findAll(Integer pageNum,Integer pageSize,Article article);

    List<Consult> findAffConsult();
    Article findById(Long id);
}
